package com.multisource.myself.service;


import com.multisource.myself.common.DataSource;
import com.multisource.myself.common.DataSourceType;
import com.multisource.myself.mapper.BPSDashboardMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author Zzy
 * @date 2021/3/15 17:09
 */
@Service
public class BPSDashboardServiceImpl implements BPSDashboardService {

  @Autowired
  private BPSDashboardMapper bpsDashboardMapper;


  @Override
  @DataSource(DataSourceType.PRESTO)
  public List<Map> terminalTypeQualityStatistics() {
    return bpsDashboardMapper.terminalTypeQualityStatistics();
  }
}
